package com.qqtech.qquan.mall.model;

import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@SuppressWarnings("serial")
public class MallShopQuery extends MallShop {
	private String search;
	
	/**
	 * 不需要查询的id集合
	 */
	private List<Integer> notInIds;
	
	/**
	 * 社区
	 */
	private String communityName;
	
	/**
	 * 排序方式：sales-销量;distance-距离
	 */
	private String sortType;
	
	public String getCommunityName() {
		return communityName;
	}

	public void setCommunityName(String communityName) {
		this.communityName = communityName;
	}

	public String getSearch() {
		return search;
	}

	public void setSearch(String search) {
		this.search = search;
	}

	public List<Integer> getNotInIds() {
		return notInIds;
	}

	public void setNotInIds(List<Integer> notInIds) {
		this.notInIds = notInIds;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}

	public String getSortType() {
		return sortType;
	}

	public void setSortType(String sortType) {
		this.sortType = sortType;
	}
}